package com.yc;


import org.apache.log4j.Logger;

/**
 * @program: gitee4_socket
 * @description:
 * @author: zy
 * @create: 2024-07-17 11:51
 */
public class TestLog {
    //创建日志对象
    private static Logger log= Logger.getLogger(  TestLog.class.getName() );

    public static void main(String[] args) {
        log.debug("这是debug");
        log.info("这是info");
        log.warn("这是warn");
        log.error("这是error");
        log.fatal("这是fatal");
    }
}
